<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">系统维护</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">数据库优化</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>			
                <li class="current"><a href="#" >数据库优化</a></li>	
			    <li><a href="index.php?app=database&act=backup" target="mainframe">数据库备份</a></li>
			    <li><a href="index.php?app=database&act=restore" target="mainframe">数据库恢复</a></li>
			    <li><a href="index.php?app=database&act=sql" target="mainframe">数据库操作</a></li>	
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


    <table  class="data" >
        <thead>
	                                       <th >表名</th>
			
			
        </thead>
	    <tbody>
<!--{if (count($tables))}-->
                                 
<!--{foreach($tables as $_key => $_value )}-->                                    
                                 
<tr>
	<td   >{$_value[0]}</td>

</tr>

<!--{/foreach}-->

<!--{/if}--> 
 
<tr>
	<td >
    <input type="button" class="buton" value="运行优化" onClick="to_url('index.php?app=database&act=optimize&task=optimize');" />
    </td>

</tr> 
			
			
	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span > 对于系统经常删除数据记录、浏览量比较大的网站，一般一个星期优化一次。对于一般的网站，一个月优化一次即可。</span>	</div>
    </div>
</div>
<!--{inc(footer.view.html)}-->